package com.bg.print.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bg.print.entity.FileEntity;
import com.bg.print.utils.PageUtils;
import io.minio.errors.*;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.Map;

/**
 * 
 *
 * @author liuxvru
 * @email liuxvru@163.com
 * @date 2024-03-25 17:50:46
 */
public interface FileService extends IService<FileEntity> {

    PageUtils queryPage(Map<String, Object> params);

    String getToken(String fileName) throws ServerException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;
}

